how to convert from string to string array in c